package com.yulian.web.handler;
 
import com.yulian.web.handler.impl.CommonHandlerImpl;

import io.vertx.core.Handler;
import io.vertx.core.json.JsonObject;
import io.vertx.ext.web.RoutingContext;
import io.vertx.pgclient.PgPool;

public interface CommonHandler extends Handler<RoutingContext> {

	static CommonHandler create( PgPool pool, JsonObject config) {
		return new CommonHandlerImpl(pool, config);
	}
}